<!DOCTYPE HTML>
<html xmlns:th="http://www.springframework.org/schema/security">
<header th:replace="common/_meta::meta"></header>
<body ng-app="my-app" ng-controller="addcamera">
<article class="page-container">
    <form class="form form-horizontal" method="post" id="form-camera-add" enctype="application/x-www-form-urlencoded">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>位置信息：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="" placeholder="" id="postion" name="postion" required ng-model="camera.postion">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>设备描述：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="" placeholder="" id="desc" name="desc" ng-model="camera.desc">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>推流地址：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" placeholder="rtmp://...." name="rtmp" id="rtmp" required="required" ng-model="camera.rtmp">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">镜头分组：</label>
            <div class="formControls col-xs-8 col-sm-9"> <span class="select-box" style="width:150px;">
			<select class="select" name="adminRole" id="adminRole" size="1" ng-model="camera.adminRole">
				<option value="0">A小道</option>
				<option value="1">B小道</option>
				<option value="2">A洞</option>
				<option value="3">中门</option>
			</select>
			</span> </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">备注：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <textarea name="remark" id="remark" cols="" rows="" class="textarea" ng-model="camera.remark"  placeholder="随便写点什么..." dragonfly="true" onKeyUp="//$.Huitextarealength(this,100)"></textarea>
                <p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" ng-click="submit()" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</article>


<footer th:replace="common/_footer::footer"></footer>

<script type="text/javascript" src="/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="/lib/jquery.validation/1.14.0/messages_zh.js"></script>

<script type="text/javascript">

</script>

</body>
</html>
